@charset "UTF-8";
a {
    &.l-btn {
        background-position: right 0;
        text-decoration: none;
        display: inline-block;
        zoom: 1;
        height: 24px;
        padding-right: 18px;
        cursor: pointer;
        outline: none;
        color: #444;
        background-image: url($linkbutton_a_l-btn-background-image);
        background-repeat: no-repeat;
        -moz-border-radius: 5px 5px 5px 5px;
        -webkit-border-radius: 5px 5px 5px 5px;
        border-radius: 5px 5px 5px 5px;
        span {
            &.l-btn-left {
                display: inline-block;
                background-position: 0 -48px;
                padding: 0 0 0 18px;
                line-height: 24px;
                height: 24px;
                background-image: url($linkbutton_a_l-btn-span-background-image);
                background-repeat: no-repeat;
            }
            span {
                &.l-btn-text {
                    position: relative;
                    display: inline-block;
                    vertical-align: top;
                    top: 4px;
                    width: auto;
                    height: 16px;
                    line-height: 16px;
                    font-size: 12px;
                    padding: 0;
                    margin: 0;
                }
                &.l-btn-icon-left {
                    padding: 0 0 0 20px;
                    background-position: left center;
                }
                &.l-btn-icon-right {
                    padding: 0 20px 0 0;
                    background-position: right center;
                }
                span {
                    &.l-btn-empty {
                        display: inline-block;
                        margin: 0;
                        padding: 0;
                        width: 16px;
                    }
                }
            }
        }
        .l-btn-focus {
            outline: $l-btn-focus-outline dotted thin;
        }
    }
    &.l-btn-plain {
        border: 0;
        padding: 1px 6px 1px 1px;
        span {
            &.l-btn-left {
                padding-left: 5px;
            }
        }
    }
    &.l-btn-disabled {
        color: $l-btn-disabled-color;
        opacity: 0.5;
        filter: alpha(opacity=50);
        cursor: default;
    }
    &:hover {
        &.l-btn {
            background-position: right -24px;
            outline: none;
            text-decoration: none;
            span {
                &.l-btn-left {
                    background-position: 0 bottom;
                }
            }
        }
        &.l-btn-plain {
            padding: 0 5px 0 0;
            background: $l-btn-plain-background;
            color: $l-btn-plain-color;
            border: 1px solid #ccc;
            -moz-border-radius: 5px 5px 5px 5px;
            -webkit-border-radius: 5px 5px 5px 5px;
            border-radius: 5px 5px 5px 5px;
        }
        &.l-btn-disabled {
            background-position: right 0;
            span {
                &.l-btn-left {
                    background-position: 0 -48px;
                }
            }
        }
    }
}
a.l-btn-plain,
a.l-btn-plain span.l-btn-left {
    background: transparent;
    border: 0;
    filter: none;
}
a.l-btn-disabled,
a:hover.l-btn-disabled {
    color: #444;
    filter: alpha(opacity=50);
}
a.l-btn-plain-disabled,
a:hover.l-btn-plain-disabled {
    background: transparent;
    filter: alpha(opacity=50);
}
a.l-btn-selected,
a:hover.l-btn-selected {
    background-position: right -24px;
}
a.l-btn-selected span.l-btn-left,
a:hover.l-btn-selected span.l-btn-left {
    background-position: 0 bottom;
}
a.l-btn-plain-selected,
a:hover.l-btn-plain-selected {
    background: $l-btn-plain-selected-background;
}
